<?php
class OfferTabs extends CWidget
{
	public $postParams=array();
	public $config=array();
	
	public function run()
  	{?>
  		 <script type="text/javascript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<div class="tab_wrap">
  
  <div id="students">
					
    		<ul class="nav helv_black">
                <li class="nav-one"><a href="#featured2" class="current">STUDENTS CARD</a></li>
                <li class="nav-two"><a href="#core2">BUILD RESUME</a></li>
            </ul>
    		
    		<div class="list-wrap">
    		
    			<div id="featured2">
    				<div><img src="<?php echo ApplicationConfig::app()->params['theme']['imageUrl']?>youth.png" alt=""/></div>
					<div>
						<div class="fl vdo_ply"></div>
						<div class="fl ml10">
							<h2 style="padding:0;" class="mod_title helv_black">take<span class="helv_neue_thin">a</span>tour</h2>
							<div class="helv_black fnt15">What! Why?! How??</div>
							<div class="helv_light">Oh well, take a look!</div>
						</div>
						<div class="cl"></div>
					</div>
					<div class="cl spacer15">&nbsp;</div>
					<div><a class="get_today inblk" href=""><span class="inblk">GET IT TODAY</span></a></div>
					<div class="cl spacer15">&nbsp;</div>
					
   			  </div>
        		 
        		 <div id="core2" class="hide">
                  	core2
        		 </div>
        		 
    		 </div> <!-- END List Wrap -->
		 
		 </div>
	<div style="background: #FFCA00 ">
  	<div class="card_sep"></div>
	<div class="cl spacer10">&nbsp;</div>
	<div style="margin-left: 10px;">
		<h2 style="padding:0; margin:0;" class="helv_black fnt25">Calculate <span class="helv_neue_thin fnt25">your savings</span></h2>
		<div class="fnt12 helv_light">Click on the calculator to find out what you are destined to save this month with the Youth Extra card in your pocket.</div>
	</div>
	<div class="cl spacer20">&nbsp;</div>
	<div class="ml3"style="margin-left: 10px;"><a href="<?php echo ApplicationConfig::getURL("", "site", "valuecalculator");?>" id="fancybox-vc"><img src="<?php echo ApplicationConfig::app()->params['theme']['imageUrl']?>calculate.png" alt="" /></a></div>
  </div>
  
</div>
<div class="cl pt1"></div>
<?php 
$config = array( 
    'scrolling' => 'yes', 
    'titleShow' => false,
    'overlayColor' => '#000',
    'padding' => '0',
    'showCloseButton' => true,
     'type' =>'iframe',
	'width'=>700,
	'height'=>700,

// change this as you need
);

$this->widget('application.extensions.fancybox.EFancyBox', array('target'=>'#fancybox-vc', 'config'=>$config));

?>
  		
  	<?php }
}
?>  
 